package com.handpay.nocardpay.baselibrary.commbase.view;

import com.handpay.nocardpay.baselibrary.commbase.model.bean.BaseErrorInfo;

/**
 * @author sxshi on 2017/5/11.
 * @email:emotiona_xiaoshi@126.com
 * @describe:Describe the function  of the current class
 */

public interface IBaseView {
    /***
     * show loading
     */
    void showProgress();

    /**
     * hide loading
     */
    void hideProgress();

    /***
     * show errorMsg
     * <code>{@link android.app.AlertDialog}
     * {@link BaseErrorInfo} This Class about all error message info
     * </code>
     * @param baseErrorInfo
     */
    void showErrorAlert(BaseErrorInfo baseErrorInfo);
}
